import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /sys/menu/del
 */
export function deleteSysMenuDel(params: DeleteSysMenuDelParams, config?: AxiosRequestConfig) {
    const paramsInput = {
        id: params.id,
    };
    return request.delete<DeepRequired<any>>(`/sys/menu/del`, {
        params: paramsInput,
        ...config,
    });
}

export interface DeleteSysMenuDelParams {
    id: number;
}
